package restdom.validation;

import org.springframework.validation.Errors;
import org.springframework.validation.Validator;

/**
 * 
 * @deprecated
 */
@Deprecated
public interface ValidationSupport {

	Errors validate(Object instance);

	Errors validateOnCreate(Object instance);

	Errors validateOnUpdate(Object instance);

	void setValidator(Validator validator);

	void setOnCreateValidator(Validator validator);

	void setOnUpdateValidator(Validator validator);

}
